package com.piaodekuai.flight.pojo;

import java.io.Serializable;

public class Adminflight implements Serializable {
    private Integer afId;

    private String afNumber;

    private String afPassword;

    private String afName;

    private String afSex;

    private static final long serialVersionUID = 1L;

    public Integer getAfId() {
        return afId;
    }

    public void setAfId(Integer afId) {
        this.afId = afId;
    }

    public String getAfNumber() {
        return afNumber;
    }

    public void setAfNumber(String afNumber) {
        this.afNumber = afNumber == null ? null : afNumber.trim();
    }

    public String getAfPassword() {
        return afPassword;
    }

    public void setAfPassword(String afPassword) {
        this.afPassword = afPassword == null ? null : afPassword.trim();
    }

    public String getAfName() {
        return afName;
    }

    public void setAfName(String afName) {
        this.afName = afName == null ? null : afName.trim();
    }

    public String getAfSex() {
        return afSex;
    }

    public void setAfSex(String afSex) {
        this.afSex = afSex == null ? null : afSex.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", afId=").append(afId);
        sb.append(", afNumber=").append(afNumber);
        sb.append(", afPassword=").append(afPassword);
        sb.append(", afName=").append(afName);
        sb.append(", afSex=").append(afSex);
        sb.append("]");
        return sb.toString();
    }
}